
interface ContentBlockProps {
  title: string,
  desc?: string,
  children: React.ReactNode;
}

export default function ContentBlock({
  desc,
  title,
  children
}: ContentBlockProps) {
  return (
    <div className="w-full mb-[90px]">
      <div className="text-center text-[30px] font-[500] mb-4">{title}</div>
      {
        desc && <p className="text-center text-gray-400 text-[18px]">{desc}</p>
      }
      {children}
    </div>
  )
}